package com.xiaoyu.studyworkspace.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.xiaoyu.studyworkspace.dto.AutoConfigDTO;
import com.xiaoyu.studyworkspace.dto.AutoUserDTO;
import com.xiaoyu.studyworkspace.dto.ChangRoomDTO;
import com.xiaoyu.studyworkspace.dto.SecretDTO;
import com.xiaoyu.studyworkspace.pojo.AutoConfig;
import com.xiaoyu.studyworkspace.pojo.AutoLog;
import com.xiaoyu.studyworkspace.pojo.AutoUser;

import java.util.List;

public interface AutoPlayService {
    public AutoUser userLoginAutoPlay(SecretDTO secretDTO) throws Exception;

    public AutoConfig getAutoConfigByID(int userId);

    public List<AutoLog> getAutoLogsById(AutoUserDTO autoUserDTO);

    public void updateAutoConfig(AutoConfigDTO autoConfigDTO);

    public void startAutoBetting(AutoUserDTO autoUserDTO);

    public void insertDefaultAutoConfig(AutoUser autoUser);

    public String changRoom(ChangRoomDTO changRoomDTO) throws JsonProcessingException;
}
